Atum\Api\AtumApi S

Total Complexity 45
Dependencies 12
Dependents 5
Total lines 425
Lines of code 150
Logical lines of code 83
Comment lines 125
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
__construct()
A
42 10 54
fix_cors()
A
54 9 20
validate_status_param()
S
55 7 18
increase_posts_per_page()
S
63 5 10
add_exportable_endpoints_hooks()
S
59 4 14
get_instance()
S
70 3 6
register_api_controllers()
S
69 2 6
load_extenders()
S
67 1 9
add_cors_hooks()
S
75 1 4
get_exportable_endpoints()
S
79 1 3
__clone()
S
78 1 3
__sleep()
S
78 1 3